Skip to content

feat: Add Siliconflow API support #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 20, 2025
Merged

Conversation

JohnGump
Copy link
Contributor

  • Integrate Siliconflow API client
  • Add authentication and API endpoints
  • Implement basic API operations
  • Add unittest for Siliconflow

- Integrate Siliconflow API client
- Add authentication and API endpoints
- Implement basic API operations
@JohnGump
Copy link
Contributor Author

I've already performed unit testing. When testing, please initialize the parameters of the is_llm_configured() function as follows.
def is_llm_configured():
"""Check if LLM is configured by trying to connect to the server"""
try:
client = create_llm_client("siliconflow")
response = query_llm("test", client, provider="siliconflow")
return response is not None
except:
return False

@grapeot grapeot merged commit bda6437 into grapeot:master Feb 20, 2025
1 check passed
fancive pushed a commit to fancive/devin.cursorrules that referenced this pull request Mar 1, 2025
- Integrate Siliconflow API client
- Add authentication and API endpoints
- Implement basic API operations
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants